# -*- coding : utf_8 -*-
"""
=======================================
Time : 2025/4/15 19:24
Author : 田霄汉
Email : 522989570@qq.com
File : get_area.py
Project : pandas_demo
=======================================
"""
import numpy as np

class GetArea:

    def get_circumcircle_area(self, length, width):
        """
        获取长方形的外接圆面积
        :param length: 长方形的长
        :param width: 长方形的宽
        :return: 长方形的面积
        """
        r = np.sqrt(length**2 + width**2) / 2
        area = r**2 * np.pi
        return area

